//
//  myGamesViewController.h
//  myGames
//
//  Created by binbinming on 09-12-25.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@class MainGameViewController;
@class ScorelistViewController;

@interface myGamesViewController : UIViewController<AVAudioPlayerDelegate> {
	IBOutlet UIButton *playBtn;
	IBOutlet UIButton *scoreBtn;
	IBOutlet UIButton *aboutmeBtn;
	IBOutlet UIButton *helpBtn;
	IBOutlet AVAudioPlayer *player;
	MainGameViewController* mainGameViewController;
	ScorelistViewController* scorelistViewController;
}
//@property(nonatomic,retain) UIImage *imagebackground;
@property(nonatomic,retain) UIButton *playBtn;
@property(nonatomic,retain) UIButton *scoreBtn;
@property(nonatomic,retain) UIButton *aboutmeBtn;
@property(nonatomic,retain) UIButton *helpBtn;
@property(nonatomic,retain) AVAudioPlayer *player;
@property(nonatomic,retain) MainGameViewController* mainGameViewController;
@property(nonatomic,retain) ScorelistViewController* scorelistViewController;

-(IBAction)startPlay:(id)sender;
-(IBAction)scoreDisplay:(id)sender;
-(IBAction)aboutMeDisplay:(id)sender;
-(IBAction)helpDisplay:(id)sender;

-(void)reCoderUserforLogin;
-(void)startMusic;
- (void) playBackgroundSoundEffect;

@end

